package service;

import entity.ResponseMessage;
import entity.User;

/**
 * The interface User service.
 *
 * @author overlook
 * @date 2022 -04-16 20:15:15
 */
public interface UserService {
    /**
     * Find all user response message.
     *
     * @param user the user
     * @return the response message
     */
    ResponseMessage findAllUser(User user);

    /**
     * Insert user response message.
     *
     * @param user the user
     * @return the response message
     */
    ResponseMessage insertUser(User user);

    /**
     * Update user response message.
     *
     * @param user the user
     * @return the response message
     */
    ResponseMessage updateUser(User user);

    /**
     * Delete user response message.
     *
     * @param id the id
     * @return the response message
     */
    ResponseMessage deleteUser(Integer id);
}
